/*
 * Copyright (c) 2002 David Corbin and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Common Public License v0.5
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors:
 * 	  David Corbin - provides access to a Perforce server abstraction
 */
package net.sourceforge.p4eclipse.core.api;
/**
 * @version 	1.0
 * @author     <a href="mailto:dcorbin@users.sourceforge.net">David Corbin</a>
 */
public class PerforceServerFactory
{
	private static PerforceServer server = new ActualPerforceServer();
	
	public static void setPerforceServer(PerforceServer server)
	{
		PerforceServerFactory.server = server;
	}
	public static PerforceServer getPerforceServer()
	{
		return server;
	}

}
